package com.wzd.ucenterservice.client;

import com.wzd.commonutils.R;
import com.wzd.commonutils.vo.im.Mine;
import com.wzd.ucenterservice.client.impl.IMDegradeFeignClientImpl;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @ProjectName: e_learning
 * @Package: com.wzd.ucenterservice.client
 * @ClassName: ImClinet
 * @Author: lofxve
 * @Description:
 * @Date: 2021/5/10 9:18
 * @Version: 1.0
 */
@Component
@FeignClient(value = "service-im", fallback = IMDegradeFeignClientImpl.class)
public interface ImClinet {
    @PostMapping("/eduim/mine/saveMine")
    public R saveMine(@RequestBody Mine mine);
}
